package vo

// 创建关联关系哦
type CreateSupermarketDirectorReq struct {
	DirectorID    int
	SupermarketID int
	Note          string
}

type CreateSupermarketDirectorRsp struct {
	ID int
}

// 修改关联关系
type UpdateSupermarketDirectorReq struct {
	ID             int
	DirectorID     int
	SupermarketID  int
	DirectorPoints float32 // 扣点(提成百分比)
	Note           string
}

type UpdateSupermarketDirectorRsp struct {
}

type ListSupermarketDirectorReq struct {
	Page           int
	PageSize       int
	Search         string
	Sorts          string
	SupermarketIDs []int
}

type ListSupermarketDirectorRspItem struct {
	ID   int
	Name string
	Note string

	Director       Person
	DirectorPoints float32
	Supermarket    Supermarket
}

type DeleteSupermarketDirectorReq struct {
	ID int
}

type DeleteSupermarketDirectorRsp struct {
}
